package com.lyf.task.util;

public class ToByteArr {

	
	public static byte[] toByteArrary(String date){
		
		byte[] result = new byte[12];
		
		  for (int i = 0;i<result.length;i++)
		    {
		    	String temp = date.charAt(i)+"";
		    	
		    	result[i] = (byte) Integer.parseInt(temp, 16);
		    }
		  return result;
	}
}
